package com.xh.bussiness.practice.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.xh.core.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 学生作业表
 * </p>
 *
 * @author Pitt
 * @since 2021-01-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_practice_student")
public class PracticeStudent extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 作业id
     */
    private String practiceId;

    /**
     * 教师id
     */
    private String userId;

    /**
     * 班级id
     */
    private String classId;

    /**
     * 学生id
     */
    private String studentId;

    /**
     * 学生姓名
     */
    private String studentName;

    /**
     * 状态（0：未提交；1：已提交；2：已批改)
     */
    private Integer status;

    /**
     * 提交时间
     */
    private java.util.Date submitTime;

    /**
     * 得分
     */
    private Double score;
    /**
     * 作业评价
     */
    private String comment;

    @TableField(exist = false)
    private Integer paperScore;

    @TableField(exist = false)
    private Integer statusCount;

}
